package com.example.systemwork.controller;

import com.example.systemwork.common.controller.LogicController;
import com.example.systemwork.dao.ShopDao;
import com.example.systemwork.entity.Shop;
import com.example.systemwork.service.ShopService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "商店实体的控制器")
@RestController
@RequestMapping("/shop")
public class ShopController extends LogicController<ShopService, ShopDao, Shop,Long> {
    public ShopController(@Autowired ShopService service){
        super(service);
    }
}